Class EIGRPNeighborImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.impl.EIGRPNeighborImpl
All Implemented Interfaces:
IPCData, EIGRPNeighbor

public class EIGRPNeighborImpl extends IPCDataImpl implements EIGRPNeighbor
  • Field Details

    • neighborAddress

      protected IPAddress neighborAddress
    • portName

      protected String portName
    • holdTime

      protected int holdTime
    • upTime

      protected long upTime
    • seqNumber

      protected int seqNumber
    • srtt

      protected int srtt
    • rto

      protected int rto
    • lastHeardTime

      protected long lastHeardTime
    • lastUpdateTime

      protected long lastUpdateTime
  • Constructor Details

    • EIGRPNeighborImpl

      public EIGRPNeighborImpl()
  • Method Details

    • getNeighborAddress

      public IPAddress getNeighborAddress()
      Specified by:
      getNeighborAddress in interface EIGRPNeighbor
      Returns:
      IPAddress Returns a IPAddress
    • setNeighborAddress

      public void setNeighborAddress(IPAddress neighborAddress)
      Specified by:
      setNeighborAddress in interface EIGRPNeighbor
      Parameters:
      neighborAddress - Takes in a parameter of neighborAddress
    • getPortName

      public String getPortName()
      Specified by:
      getPortName in interface EIGRPNeighbor
      Returns:
      String Returns a String
    • setPortName

      public void setPortName(String portName)
      Specified by:
      setPortName in interface EIGRPNeighbor
      Parameters:
      portName - Takes in a parameter of portName
    • getHoldTime

      public int getHoldTime()
      Specified by:
      getHoldTime in interface EIGRPNeighbor
      Returns:
      int Returns a int
    • setHoldTime

      public void setHoldTime(int holdTime)
      Specified by:
      setHoldTime in interface EIGRPNeighbor
      Parameters:
      holdTime - Takes in a parameter of holdTime
    • getUpTime

      public long getUpTime()
      Specified by:
      getUpTime in interface EIGRPNeighbor
      Returns:
      long Returns a long
    • setUpTime

      public void setUpTime(long upTime)
      Specified by:
      setUpTime in interface EIGRPNeighbor
      Parameters:
      upTime - Takes in a parameter of upTime
    • getSeqNumber

      public int getSeqNumber()
      Specified by:
      getSeqNumber in interface EIGRPNeighbor
      Returns:
      int Returns a int
    • setSeqNumber

      public void setSeqNumber(int seqNumber)
      Specified by:
      setSeqNumber in interface EIGRPNeighbor
      Parameters:
      seqNumber - Takes in a parameter of seqNumber
    • getSrtt

      public int getSrtt()
      Specified by:
      getSrtt in interface EIGRPNeighbor
      Returns:
      int Returns a int
    • setSrtt

      public void setSrtt(int srtt)
      Specified by:
      setSrtt in interface EIGRPNeighbor
      Parameters:
      srtt - Takes in a parameter of srtt
    • getRto

      public int getRto()
      Specified by:
      getRto in interface EIGRPNeighbor
      Returns:
      int Returns a int
    • setRto

      public void setRto(int rto)
      Specified by:
      setRto in interface EIGRPNeighbor
      Parameters:
      rto - Takes in a parameter of rto
    • getLastHeardTime

      public long getLastHeardTime()
      Specified by:
      getLastHeardTime in interface EIGRPNeighbor
      Returns:
      long Returns a long
    • setLastHeardTime

      public void setLastHeardTime(long lastHeardTime)
      Specified by:
      setLastHeardTime in interface EIGRPNeighbor
      Parameters:
      lastHeardTime - Takes in a parameter of lastHeardTime
    • getLastUpdateTime

      public long getLastUpdateTime()
      Specified by:
      getLastUpdateTime in interface EIGRPNeighbor
      Returns:
      long Returns a long
    • setLastUpdateTime

      public void setLastUpdateTime(long lastUpdateTime)
      Specified by:
      setLastUpdateTime in interface EIGRPNeighbor
      Parameters:
      lastUpdateTime - Takes in a parameter of lastUpdateTime
    • read

      public void read(EncodedBuffer buffer)
      Reads this object from an EncodedBuffer of raw data
      Specified by:
      read in interface IPCData
      Specified by:
      read in class IPCDataImpl
      Parameters:
      buffer - The EncodedBuffer that contains the raw data from which to construct this object